+2005-05-27 Matthias Clasen <mclasen@redhat.com>
+
+ * io-bmp.c: Accept the 108 byte header of BMP v4. (#168799)
+
2005-05-25 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf.symbols:
#endif
State->Header.size = lsb_32 (&BIH[0]);
- if (State->Header.size == 40) {
+ if (State->Header.size == 108) {
+ State->Header.width = lsb_32 (&BIH[4]);
+ State->Header.height = lsb_32 (&BIH[8]);
+ State->Header.depth = lsb_16 (&BIH[14]);
+ State->Compressed = lsb_32 (&BIH[16]);
+ } else if (State->Header.size == 40) {
State->Header.width = lsb_32 (&BIH[4]);
State->Header.height = lsb_32 (&BIH[8]);
State->Header.depth = lsb_16 (&BIH[14]);